package com.online.dal.dao;

import com.online.dal.model.Product;

import java.util.List;

public interface ProductDAO {

    void insert(Product product) throws Exception;

    void deleteById(String id) throws Exception;

    Long updateById(Product product) throws Exception;

    List<Product> queryByModel(Product product) throws Exception;

    Product queryById(Integer id) throws Exception;



}
